﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SurveyControl.Controls
{
    public class QuestionControl : ListBox
    {
        #region Properties

        public object Question
        {
            get { return (object)GetValue(QuestionProperty); }
            set { SetValue(QuestionProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Question.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty QuestionProperty =
            DependencyProperty.Register("Question", typeof(object), typeof(QuestionControl), new PropertyMetadata("quest QuestionControl"));

        #endregion

        public QuestionControl()
        {
            this.DefaultStyleKey = typeof(QuestionControl);
        }

    }
}
